package com.xhwl.centiotdata.handler.offlinedevice;

import com.xhwl.centiotdata.service.cent.IDeviceCentService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * @description:
 * @author: wuyuhao
 * @createDate: 2022/8/9 11:24
 */
@Service
public class OfflineDeviceHandler {

    @Autowired
    private IDeviceCentService deviceCentService;

    /**
     * 从设备表里面将离线设备保存到设备离线表里面
     * @return
     */
    public void syncOfflineDevice() {
        deviceCentService.syncOfflineDevice();
    }
}
